package cn.gogoyc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * SpringBoot启动类
 * @author Yang
 */
@SpringBootApplication
//mapper包扫描
@MapperScan("cn.gogoyc.*.mapper")
//监听器
@ServletComponentScan("cn.gogoyc.org.basic.listeneer")
public class App {
    /**
     * The entry point of application.
     *
     * @param args the input arguments
     */
    public static void main(String[] args) {
        SpringApplication.run(App.class);
    }
}
